//
//  ADKit.h
//  ADKit
//
//  Created by duzexu on 2017/12/8.
//

#import <Foundation/Foundation.h>
#import <ADKit/ADKitHeaders.h>

/// 切换根控制器的通知
static NSString *const ADSwitchRootViewControllerNotification = @"ADSwitchRootViewControllerNotification";
static NSString *const ADSwitchRootViewControllerViewModelKey = @"ADSwitchRootViewControllerViewModelKey";

@class ADNavigationControllerStack,ADViewModelServiceImp;
@interface ADKit : NSObject

+ (void)ad_configureAfterLaunch;

+ (id)appDelegate;

+ (UIViewController *)rootVC;

+ (UIWindow *)mainWindow;

/// 是否是新版本
+ (BOOL)isNewVersion;
/// 是否第一次启动
+ (BOOL)isFirstLaunch;
/// 导航栈
+ (ADNavigationControllerStack *)navControllerStack;
/// 服务实例
+ (ADViewModelServiceImp *)services;

@end
